Skip to main content

Resolve

To resolve your did install the following package:

npm install @extrimian/did-resolver

Write the code below:

import { DIDModenaResolver } from "@extrimian/did-resolver";
export const resolveDID = async (did: string) => {
const resolver = new DIDModenaResolver({ modenaURL: getQuarkidApiURL() });

return await resolver.resolveDID(did.substring(did.lastIndexOf(":") + 1));
};

Resolve your did.

resolveDID(did);